import fetch from 'utils/fetch'

export default {
  // 查询退款列表
  list (params) {
    return fetch({
      url: '/refund/apply/list',
      params
    })
  },
  // 查询退款详情
  detail (params) {
    return fetch({
      url: '/refund/apply/refundNumber',
      params
    })
  },
  confirm (data, options) {
    return fetch({
      url: '/refund/apply/confirm',
      method: 'PUT',
      data,
      options
    })
  }
}
